import { ipcRenderer, remote } from "electron";

export function on(key, cb) {
  ipcRenderer.on(key, cb);
}

export function actionStartFlash() {
  ipcRenderer.send("action-start-flash");
}
